package com.zz.cc.owner.app;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

import com.zz.cc.owner.R;
import com.zz.cc.owner.TitleBaseActivity;

public class ForgetPasswordActivity extends TitleBaseActivity implements OnClickListener {
	private EditText mPhoneNumInput;
	private Button mSubmitBtn;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_forget_password);
		initUI();
		fillView();
	}
	
	private void initUI() {
		mPhoneNumInput = (EditText) findViewById(R.id.forget_password_input_phone_number);
		mSubmitBtn = (Button) findViewById(R.id.forget_password_submit);
	}
	
	private void fillView() {
		super.setCurrentTitle(R.string.forget_password_title);
		mSubmitBtn.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		int id = v.getId();
		if(id == R.id.forget_password_submit) {
			onBackPressed();
		}
		
	}
}
